package puzzle;

import java.util.ArrayList;

public class PuzzlePiece {

	private ArrayList<PieceEdge> edges;
	
	public PuzzlePiece(ArrayList<PieceEdge> edges){
		this.edges = edges;
	}
	
	public ArrayList<PieceEdge> getEdges(){
		return edges;
	}
	
	public String toString(){
		String returnString = "";
		for(int i = 0; i < edges.size(); i++){
			returnString += "Edge " + (i+1) + ": " + edges.get(i).toString() + "\n";
		}
		return returnString;
	}
	
}
